package com.jiangong.service.impl;

import com.jiangong.dao.OutdoorEnvironmentDao;
import com.jiangong.entity.*;
import com.jiangong.service.OutdoorEnvironmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class OutdoorEnvironmentServiceImpl implements OutdoorEnvironmentService {
    @Autowired
    private OutdoorEnvironmentDao outdoorEnvironmentDao;

    @Override
    public OutdoorEnvironment baseInformation() {
        return outdoorEnvironmentDao.baseInformation();
    }

    @Override
    public List<OutdoorEnvironmentTH24> tempHumidityHours() {
        return outdoorEnvironmentDao.tempHumidityHours();
    }

    @Override
    public List<OutdoorEnvironmentIrr24> IrrationHours() {
        return outdoorEnvironmentDao.IrrationHours();
    }

    @Override
    public List<OutdoorEnvironmentTH30> tempHumidityDays() {
        return outdoorEnvironmentDao.tempHumidityDays();
    }

    @Override
    public List<OutdoorEnvironmentIrr30> IrrationDays() {
        return outdoorEnvironmentDao.IrrationDays();
    }

    @Override
    public List<OutdoorEnvironmentTWP30> tempWindPowerDays() {
        return outdoorEnvironmentDao.tempWindPowerDays();
    }

    @Override
    public List<OutdoorEnvironmentPM30> PMDays() {
        return outdoorEnvironmentDao.PMDays();
    }
}
